﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;

public partial class MobilePizza : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        if (null == (OrderItemsMain)Session["orderitemsmain"])
        {
            Session["orderitemsmain"] = new OrderItemsMain();
        }

        OrderItemsMain oim = (OrderItemsMain)Session["orderitemsmain"];

        oim.addOrderItem(DropDownList1.Text);
        oim.addOrderItem(DropDownList3.Text);
        oim.addOrderItem(DropDownList4.Text);
        oim.addOrderItem(DropDownList5.Text);

        Response.Redirect("MobileOrderLanding.aspx");
    }
}